import axios from 'axios'
import {makePost} from '../utils'
const baseApiPath = ""

export const register = data => makePost(baseApiPath + "register",data)
export const login = data => makePost(baseApiPath + "/login",data)

export const update = data => makePost(baseApiPath + "/update",data)
export const getUserByCookie = (data) => makePost(baseApiPath + "/getUserByCookie",data)

export const getUserListByType = (data) => makePost(baseApiPath + "/getUserListByType",data)

export const sendMsg = (data) => makePost(baseApiPath + "/sendMsg",data)
export const getMsgList = (data) => makePost(baseApiPath + "/getMsgList",data)

export const readMsg = (data) => makePost(baseApiPath + "/readMsg",data)


// getUserByCookie

